package com.lunhui.user.business;

import com.lunhui.user.dal.model.User;

public interface UserService {

    Integer saveToDB (String account, String password) throws Exception;

    User getByAccount (String account) throws Exception;

    User getByAccountAndPassword (String account, String password) throws Exception;

    Integer updateUserInfo(User user) throws Exception;
}
